<?php echo $this->render('/public/header'); ?>
    <script src="https://cdn.bootcss.com/element-ui/2.0.4/index.js"></script>
    <!-- 引入组件库 -->
    <link href="https://cdn.bootcss.com/element-ui/2.0.4/theme-chalk/index.css" rel="stylesheet">
    <div id="main" class="col-lg-12 col-md-12 col-xs-12">
        <div class="col-lg-5 col-md-5 col-xs-5">
            <ul class="list-group">
                <?php foreach ($list as $v): ?>
                    <li class="list-group-item">
                        <?php if ($v['file_path']): ?>
                            <a target="__blank"
                               href="https://view.officeapps.live.com/op/view.aspx?src=https://erp.jingsourcing.cn<?php echo $v['file_path']; ?>"><?php echo $v['title']; ?></a>
                        <?php else: ?>

                            <a target="__blank"
                               href="/setting/post?id=<?php echo $v['id']; ?>"><?php echo $v['title']; ?></a>
                        <?php endif ?>
                        <div style="float:right"><?php echo date('Y-m-d H:i:s', $v['time']); ?></div>
                    </li>
                <?php endforeach; ?>
            </ul>

        </div>
    </div>
<?php echo $this->render('/public/footer'); ?>